package asia.doing.mapper;

import asia.doing.entity.Article;

import java.util.List;

public interface ArticleMapper {

     Integer insert(Article article);

     Integer updateById(Article article);

     Integer updateViews(Article article);

     Integer deleteById(Integer id);

     List<Article> selectAll(Article article);

     Integer updateUserIdToZeroByUserId(Integer userId);
}
